var BaseAppView = GObject.registerClass({
GTypeFlags: GObject.TypeFlags.ABSTRACT,
- Properties: {
- 'gesture-modes': GObject.ParamSpec.flags(
- 'gesture-modes', null, null,
- GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
- Shell.ActionMode, Shell.ActionMode.OVERVIEW),
- },
Signals: {
'view-loaded': {},
},
// Swipe
this._swipeTracker = new SwipeTracker.SwipeTracker(this._scrollView,
Clutter.Orientation.HORIZONTAL,
- this.gestureModes,
+ Shell.ActionMode.ALL,
{
name: 'AppDisplay swipe tracker',
});
layout_manager: new Clutter.BinLayout(),
x_expand: true,
y_expand: true,
- gesture_modes: Shell.ActionMode.POPUP,
});
// If it not expand, the parent doesn't take into account its preferred_width when allocating